package ch.uzh.ifi.seal.ssqa.ui.figures;

import org.eclipse.draw2d.Label;
import org.eclipse.zest.core.widgets.GraphNode;
import org.eclipse.zest.core.widgets.IContainer;

import ch.uzh.ifi.seal.ssqa.model.Source;


public class SsqaGraphNode extends GraphNode{
	
	public SsqaGraphNode(IContainer graphModel, int style, String text,	Object data) {
		super(graphModel, style, text, data);
	}

	@Override
	protected void initFigure(){
		this.nodeFigure = new SourceFigure(new Label(this.getText()),(Source)this.getData());
	}
}
